package com.example.ymm.modules1.service.user;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.my.user.OfficeSatisfactionMain;
import com.example.ymm.modules1.query.OfficeSatisfactionMainQueryCriteria;

import java.util.List;

public interface OfficeSatisfactionMainService extends BaseService<OfficeSatisfactionMain> {


    TableList<OfficeSatisfactionMain> list(OfficeSatisfactionMainQueryCriteria criteria, YmPageDto ymPage);

    List<OfficeSatisfactionMain> queryAll(OfficeSatisfactionMainQueryCriteria criteria);

    OfficeSatisfactionMain getByUserIdAndYear(String userId, String year);

    List<OfficeSatisfactionMain> getYearList(String year);


}
